package com.example.demo.model;

import org.springframework.data.annotation.Id;

public class History {
	@Id
	public String id;

	private String aid;
	private String aname;
	private String author;
	private String img;
	private String content;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAid() {
		return aid;
	}

	public void setAid(String aid) {
		this.aid = aid;
	}

	public String getAname() {
		return aname;
	}

	public void setAname(String aname) {
		this.aname = aname;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@Override
	public String toString() {
		return "History [id=" + id + ", aid=" + aid + ", aname=" + aname + ", author=" + author + ", img=" + img
				+ ", content=" + content + "]";
	}

}
